<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
  <head>
	<meta charset="utf-8">
	<title>发布公告</title>
	<link rel="stylesheet" media="screen" href="../css/styles.css" >
    <style>
    .contact_form{padding-top:40px;}
	.title {background-color:rgba(0,0,0,0.56); text-align:center; width:100%; position:fixed; top:0; left:0; padding:5px 0;}
.title a {color:#FFF; text-decoration:none; font-size:16px; font-weight:bolder; line-height:24px;}
    </style>
</head>
<body>
<form class="contact_form" action="add_notice_do.jsp" method="post" name="contact_form">
    <ul>
        <li>
             <h2>发布公告</h2>
             <span class="required_notification">* 表示必填项</span>
        </li>
        <li>
            <label for="username">标题</label>
            <input type="text"  name="title" required />
        </li>
        <li>
           <li>
            <label for="message">内容:</label>
            <textarea  cols="40" name="content" rows="6" placeholder="" required ></textarea>
        </li>
        <li>
            <label for="pwd1">作者</label>
            <input type="text"  name="author" required />
        </li>
        <li>
        	<button class="submit" type="submit" >发布</button>
        </li>
    </ul>
</form>
</body>
</html>
